home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / acpi / mailbtn.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2008-10-14  |  270b  |  13 lines

  1. #!/bin/sh
  2.  
  3. test -f /usr/share/acpi-support/state-funcs || exit 0
  4.  
  5. . /etc/default/acpi-support
  6. . /usr/share/acpi-support/power-funcs
  7.  
  8. getXconsole;
  9. if [ x"$XAUTHORITY" != x"" ]; then
  10.     . /usr/share/acpi-support/key-constants
  11.     acpi_fakekey $KEY_MAIL   # [was: 236]
  12. fi
  13.